package com.spark.check.model

class InviteLeaderListModel(
        var msg: String = "",
        var code: String = "",
        var data: Data = Data()
) {
    class Data(
            var approver: Approver = Approver(),
            var inuser: List<Inuser> = mutableListOf(),
            var outuser: List<Outuser> = mutableListOf()
    ) {
        class Approver(
                var id: Int = 0,
                var username: String? = "",
                var password: String? = "",
                var employeeno: String? = "",
                var name: String? = "",
                var mobile: String? = "",
                var idcard: String? = "",
                var sex: String = "",
                var external: Int = 0,
                var enabled: Int = 0,
                var leaved: String = "",
                var deleted: Int = 0,
                var contactinfo: String = "",
                var email: String = "",
                var admin: Int = 0,
                var sort: String = "",
                var remark: String = "",
                var pictureId: Int = 0,
                var roleset: String? = "",
                var builtinrolelist: String = "",
                var pictureurl: String? = "",
                var departmentnames: String = "")

        class Inuser(
                var id: Int = 0,
                var username: String = "",
                var password: String = "",
                var employeeno: String = "",
                var name: String = "",
                var mobile: String = "",
                var idcard: String = "",
                var sex: String = "",
                var external: Int = 0,
                var enabled: Int = 0,
                var leaved: String = "",
                var deleted: Int = 0,
                var contactinfo: String = "",
                var email: String = "",
                var admin: Int = 0,
                var sort: String = "",
                var remark: String = "",
                var pictureId: Int = 0,
                var roleset: String? = "",
                var builtinrolelist: String = "",
                var pictureurl: String = "",
                var departmentnames: String = ""
        )

        data class Outuser(
                var id: Int = 0,
                var username: String = "",
                var password: String = "",
                var employeeno: String = "",
                var name: String = "",
                var mobile: String = "",
                var idcard: String = "",
                var sex: String = "",
                var external: Int = 0,
                var enabled: Int = 0,
                var leaved: String = "",
                var deleted: Int = 0,
                var contactinfo: String = "",
                var email: String = "",
                var admin: Int = 0,
                var sort: String = "",
                var remark: String = "",
                var pictureId: String = "",
                var roleset: String = "",
                var builtinrolelist: String = "",
                var pictureurl: String = "",
                var departmentnames: String = "")
    }
}
